/*
 * Dipartimento
 * 
 * The class Dipartimento represents a department in the system
 * 
 * Author: Carmine Colicino, Luigi Di Martino
 * Version: 1.0
 * 
 * 2014 - Copyright by Team 6 - University of Salerno
*/

package it.unisa.udocs.data;

public class Dipartimento {

	private String nomeDip;
	
	private int id_dipartimento;
	
	
	/**
	 * Constructs a new Dipartimento
	 * 
	 * @param id - the id of a department
	 * @param nomeDip - the name of a department
	 */
	public Dipartimento(int id,String nomeDip) {
		
		this.id_dipartimento=id;
		this.nomeDip=nomeDip;
		
	}

	/**
	 * Returns the name of a department 
	 * 
	 * @return the name of the department
	 *
	 */
	public String getNomeDip() {
		return nomeDip;
	}

	/**
	 * Sets the name of a department
	 * 
	 * @param nomeDip - the name of a department
	 * 
	 */
	public void setNomeDip(String nomeDip) {
		this.nomeDip = nomeDip;
	}

	/**
	 * Returns the id of a department 
	 * 
	 * @return the id of a department
	 *
	 */
	public int getId_dipartimento() {
		return id_dipartimento;
	}

	/**
	 * Sets the id of a department 
	 * 
	 * @param id_dipartimento - the id of a department
	 * 
	 */
	public void setId_dipartimento(int id_dipartimento) {
		this.id_dipartimento = id_dipartimento;
	}

	
	
	
}
